# $Id: PKGBUILD 66221 2012-02-23 03:33:42Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Francois Charette <firmicus@gmx.net>

pkgname=perl-time-duration
pkgver=1.06
pkgrel=6
pkgdesc="rounded or exact English expression of durations"
arch=('any')
url="http://search.cpan.org/dist/Time-Duration"
license=('GPL' 'PerlArtistic')
depends=('perl')
makedepends=('perl-test-pod-coverage' 'perl-test-pod')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/A/AV/AVIF/Time-Duration-$pkgver.tar.gz)
md5sums=('d65108e0e4e8ffb38e28d532f8ddcd12')

build() {
  cd  $srcdir/Time-Duration-$pkgver
  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
  make
  make install DESTDIR=$pkgdir
  find $pkgdir -name '.packlist' -delete
  find $pkgdir -name '*.pod' -delete
}
